package com.briup.service;

import com.briup.bean.Employee;
import org.springframework.validation.BindingResult;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wyq
 * @create 2021-09-22 20:21
 */
public interface EmployeeService {


    int deleteById(int id);

    int saveOrUpdate(Employee employee);

    List<Employee> queryAll();

    Employee queryById(int id);

    long queryCount();

    List<Employee> queryByName(String name);

    void deleteBatch(ArrayList<Integer> list);
}
